<?php

namespace app\im\model;

use think\Model;

class UserModel extends Model
{
    protected $table = 'users';

    public function friends()
    {
        return $this->hasMany(FriendsModel::class, 'user_id');
    }

    public function register($account, $password)
    {
    }
}
